<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
    </head>
    <body>
        <div class="body">
            <h1>Publikationen von Silvio Wangler</h1>            
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                   	        <g:sortableColumn property="id" title="Id" />
                        
                   	        <g:sortableColumn property="title" title="Title" />
                        
                   	        <g:sortableColumn property="releaseDate" title="Release Date" />
                        
                   	        <g:sortableColumn property="visible" title="Visible" />
                        
                   	        <g:sortableColumn property="description" title="Description" />
                        
                   	        <g:sortableColumn property="path" title="Path" />
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${publicationList}" status="i" var="publication">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${publication.id}">${publication.id?.encodeAsHTML()}</g:link></td>
                        
                            <td>${publication.title?.encodeAsHTML()}</td>
                        
                            <td>${publication.releaseDate?.encodeAsHTML()}</td>
                        
                            <td>${publication.visible?.encodeAsHTML()}</td>
                        
                            <td>${publication.description?.encodeAsHTML()}</td>
                        
                            <td>${publication.path?.encodeAsHTML()}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${Publication.count()}" />
            </div>
        </div>
    </body>
</html>
